package com.dfrz.stockMarket.model;

public class StocksModel {
	private int stockCode;
	private String stockName;
	private double stockPrice;
	public int getStockCode() {
		return stockCode;
	}
	public void setStockCode(int stockCode) {
		this.stockCode = stockCode;
	}
	public String getStockName() {
		return stockName;
	}
	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	public double getStockPrice() {
		return stockPrice;
	}
	public void setStockPrice(double stockPrice) {
		this.stockPrice = stockPrice;
	}
	@Override
	public String toString() {
		return "Stocks [stockCode=" + stockCode + ", stockName=" + stockName
				+ ", stockPrice=" + stockPrice + "]";
	}
	public StocksModel(int stockCode, String stockName, int stockPrice) {
		super();
		this.stockCode = stockCode;
		this.stockName = stockName;
		this.stockPrice = stockPrice;
	}
	public StocksModel() {
	
	}
	
}
